package com.example.cognitivesystemserver.service;

import com.example.cognitivesystemserver.mapper.RecommendationMapper;
import com.example.cognitivesystemserver.pojo.StudyResource;
import com.example.cognitivesystemserver.pojo.WorkInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RecommendationServiceImpl implements RecommendationService{
    @Autowired
    private RecommendationMapper recommendationMapper;

    @Override
    public WorkInfo workRecommendation(String needed) {
        return recommendationMapper.workRecommendation(needed);
    }

    @Override
    public StudyResource studyRecommendation(String src) {
        return recommendationMapper.studyRecommendation(src);
    }
}
